Skip to content

feat: added extra translations for frontend-plugin-learner-dashboard#7

Closed
jajjibhai008 wants to merge 1 commit into
release-ulmofrom
eahmadjaved/ENT-11106
Closed

feat: added extra translations for frontend-plugin-learner-dashboard#7
jajjibhai008 wants to merge 1 commit into
release-ulmofrom
eahmadjaved/ENT-11106

Conversation

@jajjibhai008
Copy link
Copy Markdown

@jajjibhai008 jajjibhai008 commented Nov 27, 2025

Description

Extends translation infrastructure to support frontend-plugin-learner-dashboard by adding it as a translation source in the Makefile's pull_translations target. This enables the internationalization workflow to extract, manage, and import plugin-specific translatable strings from the edx/openedx-translations repository.

Copilot AI review requested due to automatic review settings November 27, 2025 12:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds translation support for the frontend-plugin-learner-dashboard plugin by integrating it into the existing translation pipeline.

Key Changes:

  • Introduced variable definitions (ATLAS_EXTRA_SOURCES and ATLAS_OPTIONS) to make translation sources more maintainable
  • Extended the pull_translations target to include the new plugin's translation source
  • Added the plugin to the intl_imports command to process imported translations

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Comment thread Makefile Outdated
Comment thread Makefile
@jajjibhai008 jajjibhai008 force-pushed the eahmadjaved/ENT-11106 branch 2 times, most recently from 97e1ced to 49edb41 Compare November 27, 2025 12:31
Copilot AI review requested due to automatic review settings November 27, 2025 12:34
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Copy link
Copy Markdown
Member

@deborahgu deborahgu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea of making an $(ATLAS_EXTRA_SOURCES) a variable is so that this doesn't have to be a fork from upstream. So instead of using the variable but then hardcoding the repo on lines 16-17 and line 58, you should keep your line 56 here and have another variable on line 58 like $ATLAS_EXTRA_INTL_IMPORTS. That can go up to openedx so nobody needs to maintain a fork. Then you define the contents of those 2 variables, and the contents of ATLAS_OPTIONS, in edx-internal.

@MaxFrank13
Copy link
Copy Markdown
Member

MaxFrank13 commented Dec 1, 2025

The idea of making an $(ATLAS_EXTRA_SOURCES) a variable is so that this doesn't have to be a fork from upstream. So instead of using the variable but then hardcoding the repo on lines 16-17 and line 58, you should keep your line 56 here and have another variable on line 58 like $ATLAS_EXTRA_INTL_IMPORTS. That can go up to openedx so nobody needs to maintain a fork. Then you define the contents of those 2 variables, and the contents of ATLAS_OPTIONS, in edx-internal.

With this suggestion, we can actually have this change on the Open edX repository. Since there would be no hardcoded, 2U-specific code in the repo at that point. Doing it this way, we will avoid diverging from the master branch of Open edX and also making future updates less of a pain.

So I would vote to point this PR to openedx/master instead of edx/release-ulmo. I believe you would need to create a new PR to do so as I don't believe there is a way to change the organization after the PR has been created.

@jajjibhai008 jajjibhai008 deleted the eahmadjaved/ENT-11106 branch December 2, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants